<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>订单支付提醒</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .container {
            max-width: 600px;
            margin: 20px auto;
            background-color: #ffffff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .header {
            text-align: center;
            padding: 20px 0;
            border-bottom: 1px solid #eeeeee;
        }
        .header h1 {
            color: #FF5722;
            margin: 0;
        }
        .content {
            padding: 20px 0;
        }
        .content p {
            color: #666666;
            line-height: 1.6;
        }
        .order-info {
            background-color: #f9f9f9;
            padding: 15px;
            border-radius: 5px;
            margin: 20px 0;
            border-left: 4px solid #FF5722;
        }
        .order-info h3 {
            margin-top: 0;
            color: #333333;
        }
        .footer {
            text-align: center;
            padding: 20px 0;
            border-top: 1px solid #eeeeee;
            color: #999999;
            font-size: 12px;
        }
        .button {
            display: inline-block;
            padding: 10px 20px;
            background-color: #FF5722;
            color: #ffffff;
            text-decoration: none;
            border-radius: 5px;
            margin: 10px 0;
        }
        .warning {
            color: #FF5722;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="header">
        <h1>订单支付提醒</h1>
    </div>

    <div class="content">
        <p>尊敬的 <span th:text="${userName}">用户</span>，您好！</p>

        <p class="warning">您有一笔订单尚未完成支付，请尽快完成支付以确保订单有效。</p>

        <div class="order-info">
            <h3>订单信息：</h3>
            <p><strong>订单号：</strong><span th:text="${orderId}">订单号</span></p>
            <p><strong>下单时间：</strong><span th:text="${createTime}">下单时间</span></p>
            <p><strong>支付截止时间：</strong><span th:text="${expireTime}">支付截止时间</span></p>
        </div>

        <p>为确保您能及时收到商品，请在支付截止时间前完成支付。</p>

        <p>点击下方按钮立即完成支付：</p>
        <p style="text-align: center;">
            <a th:href="${payUrl}" class="button">立即支付</a>
        </p>

        <p>如果您已经完成支付，请忽略此邮件。如有任何疑问，请联系我们的客服。</p>
    </div>

    <div class="footer">
        <p>此邮件为系统自动发送，请勿回复。</p>
        <p>优购购物平台. 保留所有权利。</p>
    </div>
</div>
</body>
</html>